package com.logistics.modules.vehicleManagement.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * 
 * @author HURRICANE
 * @email HURRICANE@nb.com
 * @date 2022-05-07 09:25:16
 */
@Data
@TableName("vehicle")
@JsonIgnoreProperties(value = {"handler"})
public class VehicleEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id 自增
	 */
	@TableId
	private Integer id;
	/**
	 * 车牌号
	 */
	private String licenseNumber;
	/**
	 * 车辆的id
	 */
	private Integer vehicleTypeId;
	/**
	 * 车辆的载重
	 */
	private Integer vehicleLoad;
	/**
	 * 车辆状态 0 出车中 1 空闲中
	 */
	private Integer vehicleStatus;
	/**
	 * 总里程
	 */
	private Integer totalMileage;
	/**
	 * 备注
	 */
	private String remark;
	/**
	 * 删除状态（0，正常，1已删除）
	 */
	private Integer delFlag;
	/*车辆类型*/
	@TableField(exist = false)
	private VehicletypeEntity vehicleType;
}
